package com.travelsupport.myobject;

public class LocationObj {
	private long _id;
	private String name;
	private String address;
	private String phone;
	private String website;
	private byte[] image;
	private String description;
	private long priceID;
	private long subCatalogID;
	private long qualityID;
	private float latitude;
	private float longtitude;
	private int favorite;
	private boolean isChecked = false; // use for CheckBox, not be saved in
										// database

	public LocationObj() {
	}

	public LocationObj(long id, String name, String address, String phone,
			String website, byte[] image) {
		super();
		this._id = id;
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.website = website;
		this.image = image;
	}

	public LocationObj(long id, String name, String address, String phone,
			String website, byte[] image, String description, long priceID,
			long quanlityID, long subCatalogID, float latitude,
			float longtitude, int favorite) {

		this(id, name, address, phone, website, image);

		this.description = description;
		this.priceID = priceID;
		this.qualityID = quanlityID;
		this.subCatalogID = subCatalogID;
		this.latitude = latitude;
		this.longtitude = longtitude;
		this.favorite = favorite;
	}

	public long get_id() {
		return _id;
	}

	public void set_id(long _id) {
		this._id = _id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public long getPriceID() {
		return priceID;
	}

	public void setPriceID(long priceID) {
		this.priceID = priceID;
	}

	public long getSubCatalogID() {
		return subCatalogID;
	}

	public void setSubCatalogID(long subCatalogID) {
		this.subCatalogID = subCatalogID;
	}

	public long getQuanlityID() {
		return qualityID;
	}

	public void setQuanlityID(long quanlityID) {
		this.qualityID = quanlityID;
	}

	public float getLatitude() {
		return latitude;
	}

	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

	public float getLongtitude() {
		return longtitude;
	}

	public void setLongtitude(float longtitude) {
		this.longtitude = longtitude;
	}

	public int getFavorite() {
		return favorite;
	}

	public void setFavorite(int favorite) {
		this.favorite = favorite;
	}

	public boolean isChecked() {
		return isChecked;
	}

	public void setChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}
}
